package com.njwb.day07;

//实现类      实现接口:将接口中定义的规则具体化
public class B implements A{

    @Override
    public void fn1(String str, int i) {
        //抽象方法的具体表现
        System.out.println(str+i);
    }

    @Override
    public void fn2() {
        System.out.println("B.fn2");
    }

}
